package basecamp.topo.client;

import java.util.List;

import basecamp.topo.server.RockFace;
import basecamp.topo.shared.FaceID;
import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The client side stub for the RPC service.
 */
public interface TopoServiceAsync {
	void addFace(String name, String svg, AsyncCallback<Void> callback);
	void getFaces(AsyncCallback<List<FaceID>> callback);
	void getFaceSVG(int id, AsyncCallback<String> callback);
	//RockFace getFace(int id) throws IllegalArgumentException;
}
